home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
comm
/
mebbs
/
stoli10f.lha
/
SendToLine.Doc
< prev
Wrap
Text File
|
1994-08-12
|
10KB
|
262 lines
******************************************
* *
* SendToLine v1.0 (C) By Marco Valk *
* *
******************************************
Well doc writing is not one off my favourite projects, but i have
to explain something.
WHATISIT?
---------
* A very simple Broadcast type Program,Just start it and press
a Line Button, the User that is on that line will be displayed and
a String Requester Pops Up.
Just enter the message you want to send him and.....Off you go !
* Its also can be runned from the CLI ore WorkBench, when started from
the cli Without Options, the Gui is started by default on the
MebbsNetscreen (ifit can find it, if not it will open on the Workbench)
If it's started with the CLI Options, the GUI is not loaded and the
Message is send to the correct line with a Clearscreen code or Not.
* It can be made resident.
HOW DOES IT WORK
----------------
* Well, The Line Buttons will be made vissable when a MebbsNet line
is up, so when there is only line 1 active, than ONLY the Line One
Button will be enabled.
After you filled in the text, and press return, or SEND, the message will
be send to the user WITHOUT A Clearscreen..,. And the message will be
send.
If you enter a Message and you press the SEND With CLS Button, a
clearscreen code will be send before the message will be displayed to
the User.
That's It !......
* It is also possible to enter on your keyboard the Numbers 1 to 9, this
will also bring up the string requester in where you have to fill in the
message you want to send.
- use the 'U' Key to UPDATE the Lines.
* With the Menu's , you can send a textFile to a Line, Just select the
correct line, and a requester will pop up, here you can select a
textfile which will be send to that Line.
You can send that file WITH a ClearScreen Code ore Without a CLS.
* So: When No Line is Active, and you start the program, All Buttons
are ghosted !.
- You Can Use the UPDATE Button to get The current status of all your
active lines ,But by default, it will show the users Name on line
1 only, but IF there were MORE Lines active than the last time SendToline
was runned, other line gadgets will be available also, just press
on the wanted Line button to see what user is on that line !
---------------------------------------------------------------------------
* The Cli options are : WB,NO,NO1,CLS
WB: To Open On WorkBench
NO: To Send ONLY the Text WITH a return (No system announcement lines)
NO1: To Send ONLY the Text WITHOUT a return (No system announcement lines)
CLS: To Send a ClearScreen Code Before the text is Send.
NOTE: NO and NO1 can't be used together,only One it them is accepted
See History notes for further examples.
1> SendToLine WB 4 "This is the Text what will be send to line 4" CLS
In this example, The text between "" Is send to Line 4, the CLS and Wb
keyword is optional and can be Left out the commandLine, IF CLS is Left
out,No ClearScreen will be send to the User before the message is send,
If the CLS Keyword is present, a ClearScreen will be send.
If SendToline is started with ONLY the WB option, it will open the GUI
on the Workbench, Cause by default it will try to open on your Mebbsnet-
Screen.
So: When you type in the CLI:
1>SendToLine
- Than The GUI Is Started with all the Buttons etc On the MebbsnetScreen
if it Cannot find it, it will open on the WorkBenchScreen.
1>SendToLine WB
- Will ALWAYS open the GUI-Window on the Workbench instead of the Mebbs-
Net Screen.
1>SendToLine ?, a Example is given how to use the CLI version (see Above)
* To make SendToLine resident :
1>resident SendToLine
1>Run SendToLine
Everytime SendToLine is started, it will be started from memory in stead
of disk.
INSTALLATION
------------
* Just copy it to your MebbsNet:C/ directory... and run it when you need
it.It *Might* be Good idea To add it to the MenuChoices.CFG file, which
can be found in the MebbsNet:Configfiles/ Directory.
Also the reqtools.Library Must be in your LIBS: dir
NOTE: Kickstart 2.x ore greater is needed to run this program.
WHY ?
-----
* Cause Broadcast didn't worked for me, and i needed it....
BUGS/SUGGESTIONS
----------------
* Just send them to the adress below.....
AUTHOR & COPYRIGHTS
-------------------
* Marco Valk
Jan VerFailleweg 470
1783 B.R Den-Helder
Holland
DataNr: 31-2230-16836
NodeNr: 2:512/52.0
AmyNr : 39:152/109.0
MebbsDeveloperNr: M7002
This ProGram is FreeWare BUT CopyRighted.....Just Use it When you are
A registrated MebbsNet Sysop.
* PerMission is hereby given to William Bowling to include this Program
in his MebbsNet Proffesional BBS System distribution package.
OTHER PROGRAMS:
---------------
* StarInfo
* AutoUpdate
* RunCLI
* MakeThemYS
* SendToLine
* Members
* Bewaker
* Some Old little handy StarNet Programs
VERSIONS
--------
* 0.99 First Working release, no need to Make it bigger/expand it
* 1.00 Pffff Jon Witty asked me for some Options, so the UPDATE Button
was added to Get the most actual status off the Lines,This way
SendToLine can be active all of the time.
And a CLI interface was added for The CLI Users/Arexx script-
Makers.
* 1.0a Tom Sanfeld wanted to have a Line 0 (Local Line) Also, so i decided
to add this Line too, for testing purposes ?,Note that there is NO
Button for Line 0, cause i think it would be raraly used, Sothat
Line 0 (Local) is only Available for SendToLine in CLI-Mode.
* 1.0b Now A New option for the command Line is added, Option WB, if it's
in the command line, the GUI will be started on the workbench screen
Otherwise, it looks for a active MebbsNet Screen, and opens the Gui
on that...IF sendtoline is started WITHOUT Paramters, by default it
will open on the MebbsNet Screen, if it cannot find it, it will open
on the Workbench Screen like before.
The Zoom Gadget in the window, will iconify the GUI in the right upper
corner, to make it full, just press the zoom gadget again, this way it
will always be on your mebbsscreen, ore WokBench screen.
So: 1>SendToLine WB (will open the GUI on the workbench screen)
1>SendToLine (will look for the mebbsScreen, if it's Not
found,it will open on the Workbench screen)
ALL other options are still active, so this version has also a CLI
Functon to use in Arexx-Script. (a example ArexxScriptis provided,
thanks goes to Mikael Johansson)
* 1.0c Added Dropmenu's, these are used to send a Textfile to a LineNumber
There is NO checking done, sothat if you select a wrong invalid line,
the text will be send to that line..This way the user won't see anything
Also, there are 2 options to send a textfile, one for sending it WITHOUT
a ClearScreen Code, and one that WILL send a Clearscreen code before the
text is shown.
BUGS: The Selected textfile has to have a EXTRA Return, ore else the
last line will be shown 2 times.
* 1.0d Fixed a bug where you can't select a textFile in a other directory
than the current one.
output of a TextFile can be messy if the lines are longer than 70
characters, this is because of a Function that is used to send
a string to the window in the library.
* 1.0e Fixed some problems with the FileText Send option, Cause it also
displayed the last line 2 times if there was no extra return in
the textfile.
Also due to Williams Fix in a Library, A Textfile send gave problems,
cause it did not put a return code after a line (fixed)
New option: NO/NO1
John Witty wanted a option to send a Line off text Without the System
announcement lines, sothat ONLY THAT text was send.
Well, Options NO and NO1 were born, it means That when option NO is used
ONLY the text With a returncode appended will be send to the line.
When Option NO1 is used, ONLY the text WITHOUT a returncode appended
after the text is send, so if you firts send a text WITH the NO1 option,
and than send a text With the NO option, than the last text will
be appended AFTER the first text that was send.
ex: 1>SendToLine 1 "This is a Test" NO (Send the text WITH a return)
ex: 1>SendToLine 1 "This is a Test" NO1(Send the text WITHOUT a return)
ex: 1>SendToLine 1 "This is a test" NO CLS (Send the text WITH a return)
(AND a ClearScreen Code )
The NO/NO1 Options are ONLY available in CLI-Mode, Not in the GUI
* 1.0f Begun a interface with Arexx, When first started, the port will be
called: SEND.1
Only the 'QUIT' command will work OK
Made SendToLine Resident capable, this way if you use it as a CLI
program, It can be started from memory instead of Disk,this
way heavy usage of a Drive can be avoided.
Be sure to have the Pure bit ON, and make it resident with
the resident command (See Docs).
I made this to make things easier for mr Jon Witty, who is
using this Util in his conference door (Nice work jon).